<template>
	<div class="login-box">
        
        <div class="from-box"  >
            <div class="title">
                欢迎登录
            </div>
            <el-form label-position="top"  label-width="80px" >
                <el-form-item label="">
                    <el-input v-model="username" placeholder="请输入登录名"></el-input>
                </el-form-item>
                <el-form-item label="">
                    <el-input  v-model="password" type="password" placeholder="登录密码"></el-input>
                </el-form-item>
                <el-form-item style="margin-top:30px">
                    <el-button style="width:100%;" type="primary" @click="submitForm()">{{ !lodding?"登录":"正在登陆..." }} </el-button>
                </el-form-item>
            </el-form>
        </div>
    </div>
</template>
<style src="./style.css" scoped lang="less"></style>
<script src="./script.js"></script>